package com.example.mapinformationandroid.Model;

public class User {
    protected int id;
    protected String name;
    protected String head_picture;
    protected String bitmap_path;

    //图片本地路径
    protected String bitmap_local_path;
    protected String phone;
    protected int examine;
    protected String password;
    protected int support;
    public User(){
        this.id = 0;
        this.support = 0;
        this.examine = 0;

    }
    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    protected String token;
    protected String update_at;
    protected String create_at;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHead_picture() {
        return head_picture;
    }

    public void setHead_picture(String head_picture) {
        this.head_picture = head_picture;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getExamine() {
        return examine;
    }

    public void setExamine(int examine) {
        this.examine = examine;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getSupport() {
        return support;
    }

    public void setSupport(int support) {
        this.support = support;
    }

    public String getUpdate_at() {
        return update_at;
    }

    public void setUpdate_at(String update_at) {
        this.update_at = update_at;
    }

    public String getCreate_at() {
        return create_at;
    }

    public void setCreate_at(String create_at) {
        this.create_at = create_at;
    }

    public String getBitmap_path() {
        return bitmap_path;
    }

    public void setBitmap_path(String bitmap_path) {
        String []list = bitmap_path.split("/");

        this.bitmap_path = list[list.length-1];
    }

    public String getBitmap_local_path() {
        return bitmap_local_path;
    }

    public void setBitmap_local_path(String bitmap_local_path) {
        this.bitmap_local_path = bitmap_local_path;
    }
}

